<?php
/**
{
    "messageLogId": "INT //ID",
    "tailIndex": "INT //最后执行index",
    "created": "TIMESTAMP //时间"
}
 */

class MessageLog extends Base
{
    
	public $messageLogId= '';//ID
	public $tailIndex= "0";//最后执行index
	public $created= 'CURRENT_TIMESTAMP';//时间

    public $isDbData = false;

    public function __construct()
    {
        parent::__construct();
    }


    public function __get($name) {
        return $this->$name;
    }

    public function __set($name, $value) {
        if(!$this->isDbData){
            if(!in_array($name,$this->loadedFiled))$this->loadedFiled[] = $name;
        }

        $this->$name=$value;
        $this->arr[$name] = $value;
    }

    public  function table()
    {
        return 'tbl_message_log';
    }
    
    public  function key(){
        return 'messageLogId';
    }


    
    public static  function hideField()
    {
        return [];
    }
            
    public static  function skipField()
    {
        return [];
    }
            
    public static  function noViewField()
    {
        return [];
    }
            
    public static  function jsonField()
    {
        return [];
    }
            
    public static  function noLoadField()
    {
        return [];
    }
            
    public static  function deleteField()
    {
        return [];
    }
            
    public function className()
    {
        return 'MessageLog';
    }
    
    public  function field()
    {
        return array (  'messageLogId' =>   array (    0 => 'INT',    1 => 11,    2 => 'ID',  ),  'tailIndex' =>   array (    0 => 'INT',    1 => 11,    2 => '最后执行index',  ),  'created' =>   array (    0 => 'TIMESTAMP',    1 => 0,    2 => '时间',  ),);
    }


}